package api

import (
	"github.com/gin-gonic/gin"
	"hj4/api/handlers"
)

func LoadRouter(r *gin.Engine) {
	r.POST("/api/user/c/register", handlers.Register)
	r.POST("/api/user/c/login", handlers.Login)
	r.POST("/api/video/c/add", handlers.Add)
}
